package com.lxw.nonghe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
@Data
@Accessors(chain = true)
@TableName("t_policy_attachment")
@ApiModel(value = "PolicyAttachment对象", description = "政策附件表")
public class PolicyAttachment implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("附件ID")
    @TableId(type = IdType.AUTO)
    private Integer attachmentId;

    @ApiModelProperty("关联政策ID")
    private Integer policyId;

    @ApiModelProperty("附件名称")
    private String attachmentName;

    @ApiModelProperty("附件路径")
    private String attachmentPath;
    @ApiModelProperty("附件大小")
    private String attachmentSize;
    @ApiModelProperty("附件类型")
    private String attachmentType;

    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("上传人ID")
    private Integer  uploaderId;
    @ApiModelProperty("上传人姓名")
    private String uploaderName;
}
